<?php $this->load->view('administrator/header_view')?>	
    
    <div id="main">
	    <h2>Edit Category</h2>
		<?php echo form_open($this->uri->uri_string(), array('id'=>'add','name'=>'add'));?>    
        <?php echo validation_errors();?>
		<table>
    	 	<tr>
    	 		<td><?php echo $this->lang->line('category_name')?></td>
                <td><input type="text" id="tf_name" name="tf_name" value="<?php echo $form_info['name']?>"></td>    	 		
    	 	</tr> 
            <tr>
            	<td>&nbsp;</td>
                <td>
                	<input type="submit" id="btn_submit" name="btn_submit" value="Edit">
                </td>    	 		
    	 	</tr>                 
		</table>
        <?php echo form_close();?>
    </div>
    
<?php $this->load->view('administrator/footer_view')?>